package sctu.edu.java.year2016.team04.luoxinghua.lianxi.Jiecheng.lian;

/**
 * Created by 落叶的思恋 on 2016/5/31.
 */
public class TestIent implements Math,Student {
    @Override
    public void study() {
        System.out.println("I am in learning ");
    }

    @Override
    public void jia() {
        System.out.println("我算的是两个数的加法:"+(onenumber+twonumber));
    }

    @Override
    public void max() {
        if(onenumber>twonumber)
            System.out.println("较大的一个数是："+onenumber);
        else
            System.out.println("较大的一个数是："+twonumber);

    }

    public static void main(String[] args) {
       TestIent test= new TestIent();
        test.study();
        System.out.println(" please enter two number");
        test.jia();
        test.max();

    }
}

